<div id="myslidemenu" class="jqueryslidemenu headerbar">
    <ul class="mainnav headerbarsection">            
        <li class="submenu">
            <a href="<?=base_url()?>" style="border-left: 1px solid #666565;">Kotrolna tabla</a>             
            <ul>
                <li class="dashboardlink"><a href="<?=base_url()?>">Sve vijesti</a></li>
                <li class="newlink"><a href="<?=base_url()?>vesti/uredi_vesti">Kreirajte novu vijest</a></li>
            </ul>
        </li>
        <li class="submenu"><a href="<?=base_url()?>onsite_news">On-site News</a></li> 
        <?  // MENI ZA KREIRANJE NALOGA
            if($this->session->userdata('user')=='bojanida@hotmail.com'){?>
            <li class="submenu"><a href="<?=base_url()?>nalog/nalog/lista_naloga">Nalog</a>
                <ul>
                    <li class="dashboardlink"><a href="<?=base_url()?>nalog/nalog/lista_naloga">Svi nalozi</a></li>
                    <li class="newlink"><a href="<?=base_url()?>nalog/nalog">Kreirajte novi nalog</a></li>
                </ul>
            </li>    
            <?}
        ?>
    </ul>
    <ul class="secondarynav headerbarsection">   
        <li class="nodiv">
            Dobrodošli <b><?=$this->session->userdata('firstname').' '.$this->session->userdata('lastname');?></b>, 
            <a href="<?=base_url()?>login/logout">odjavite se</a>
        </li>              
    </ul>
    <p class="clear"></p>
</div>
